<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>thymeleaf登录</h1>
<form action="thymeleaf/login" th:object=${user} method="post" th:method="post">
<!-- <form action="thymeleaf/login" method="post"> -->
	<input type="text" name="name">
	<input type="text" name="age">
	<input type="submit"> 
</form>
</body>
</html>